package io.github.talelin.latticy.dto.order;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author lms
 * @date 2021/4/28 11:23
 * @description
 */
@Data
public class OrderDTO {
    @NotNull
    private Integer spuId;
    @NotNull
    private Integer userId;
    @NotBlank
    private String address;
    @NotNull
    private BigDecimal totalPrice;
}
